CouchbaseLite

CouchbaseLite Utility

Functions

Link copied to clipboard
fun init(ctxt: Context)
@Internal(value = "This interface is not part of the public API")
fun init(ctxt: Context, debug: Boolean)

Initialize CouchbaseLite library. Unlike the Couchbase Lite Android SDK, this method is optional to call before using CouchbaseLite. The single-parameter CouchbaseLite.init(Context) will be called automatically by androidx-startup.

@Internal(value = "This interface is not part of the public API")
fun init(ctxt: Context, debug: Boolean, rootDbDir: File, scratchDir: File)

Initialize CouchbaseLite library.